package com.ss.whisper2.pojo.entity.course;

import com.ss.whisper2.pojo.entity.BaseEnum;

public enum Property implements BaseEnum<Property,Integer> {
	MAJOR(1,"必修"),
	MINOR(2,"选修"),
	MINOR_A(3,"A系列");

	private int code;
	private String value;

	Property(int code,String value) {
		this.code = code;
		this.value=value;
	}

	@Override
	public Integer getCode() {
		return this.code;
	}

	public String getValue() {
		return value;
	}
}
